﻿// Study0203.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//

#include <iostream>
using namespace std;

int main()
{
	//练习注释，以及熟悉常用数据类型的大小
	string n = "abc";
	cout << "The size of an int is:\t\t"<<sizeof(int)<<"bytes\n";
	cout << "The size of a short is:\t\t"<<sizeof(short)<<"bytes\n";
	cout << "The size of a long is:\t\t"<<sizeof(long)<<"bytes\n";
	cout << "The size of a char is:\t\t"<<sizeof(char)<<"bytes\n";
	cout << "The size of a float is:\t\t"<<sizeof(float)<<"bytes\n";
	cout << "The size of a double is:\t\t"<<sizeof(double)<<"bytes\n";
	cout << "The size of a bool is:\t\t"<<sizeof(bool)<<"bytes\n";
	
	return 0;
}


